//封装token

//存token
export function saveToken(token) {
    localStorage.setItem('token', token)
}
// 用token  因为要调用存储的token所以要return
export function getToken() {
    return localStorage.getItem('token')
}

//删除token
export function deleteToken() {
    localStorage.removeItem('token')
}